Compensation for frequency adjustment in mobile communication-positioning device with shared oscillator

ABSTRACT

In a mobile communication device, a method for compensating for a frequency adjustment in an oscillator shared between a communication circuit and a positioning signal receiver is provided. In one embodiment, the method begins to receive and store a positioning signal at a first time point. When, at a second time point, the operating frequency of the shared oscillator is adjusted, the frequency adjustment is recorded. After the positioning signal is completely received and stored, the processing of the positioning signal takes into consideration the frequency adjustment. In that embodiment, the processing hypothesizes a frequency shift in the received positioning signal. According to another aspect of the present invention, a method for determining the operating frequency of an oscillator detects a beginning time point of a reference signal received by the mobile communication device and enables a counter to count in step with a clock signal derived from the oscillator. When an ending time point of the reference signal is received by the mobile communication device, the count is stopped, and the frequency of the oscillator is determined based on the count in the counter and an expected time that elapsed between the beginning time point and the ending time point.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to a mobile communication device with apositioning capability. In particular, the present invention relates toa mobile communication device (e.g., a cellular telephone) that is alsocapable of receiving a global positioning system (GPS) signal, and whichshares an oscillator between the communication and positioningfunctions.

2. Description of the Related Art

The utility of a mobile communication device (e.g., a cellulartelephone) is enhanced if it is provided the additional capability ofreceiving and processing global positioning system (GPS) signals thatcan be used to determine the position of the mobile communicationdevice.

To provide for both positioning and communication functions, it ispossible to share a local oscillator between the receiver andtransmitter of the communication circuit and the GPS signal receiver.While sharing a local oscillator can reduce the cost and bulkiness ofsuch a mobile communication device, there are some practical problems tobe overcome to achieve high performance. For example, in cellularcommunications, when a mobile communication device leaves the servicearea of a base station and enters into the service area of another basestation, a “hand-off” procedure takes place in which the mobilecommunication device tunes into the operating frequency or channel ofthe new base station. During the hand-off, it is often necessary toadjust the offset (i.e., deviation from the base station's “nominalcenter frequency”), as each base station may have a different offset. Indegraded signal conditions, continuous tracking of a carrier may alsorequire an offset frequency adjustment. However, if such an adjustmentis made during the acquisition of a GPS signal, both the mixingfrequency and the sampling frequency of the GPS receiver—used indown-converting and digitizing the GPS signal, respectively—areaffected. The received signal may yield an erroneous result, or even afailure to detect the GPS signal. In fact, in one system, a 0.05parts-per-million (ppm) adjustment has the effect of a 79 Hz shift inthe carrier frequency in the received GPS signal.

One approach avoids the corruption of the GPS signal by locking thecommunication circuit out from accessing the oscillator for frequencyadjustment so long as a GPS signal acquisition is in process. However,such an approach is undesirable because it prevents the mobilecommunication device from establishing contact with one or more basestations while a GPS signal is being acquired, which may lead totemporary loss of communication service. Also, such an approachcomplicates the control software in the mobile communication device,thereby deterring manufacturers from incorporating positioningcapability in their mobile communication devices.

In GPS signal detection, one source of uncertainty in the carriermodulation frequency in the received signal is the “clock Doppler,”which results from the unknown syntony between the clock on the signalsource (e.g., a GPS satellite) and the receiver's own clock. Preciseknowledge of the local oscillator's frequency can reduce the frequencysearch space (“Doppler range”) for the GPS signal. At any given time,the actual frequency of a local oscillator depends on a number ofvariables, such as manufacturing variations, temperature, aging andoperating voltage. Oscillators used in signal sources (e.g., GPSsatellites) are typically well-characterized and are tuned to thespecified frequency with high accuracy. Because of their cost, highpower requirements, and bulkiness, however, such oscillators areunsuited for use in a mobile communication device. To more accuratelydetermine the operating frequency of a local oscillator, the prior arttypically requires a more costly oscillator then conventionally found ina mobile communication device. Others require a complex calibrationprocedure to tune the oscillator to a precision carrier frequency. Thelatter approach is disclosed, for example, in U.S. Pat. No. 5,874,914 toKrasner, entitled “GPS Receiver utilizing a Communication Link.” Neitherapproach is satisfactory from a cost and performance standpoint.

SUMMARY

According to one embodiment of the present invention, provided in amobile communication device, is a method for compensating for afrequency adjustment in an oscillator shared between a communicationcircuit and a positioning signal receiver. In one embodiment, the methodincludes (a) at a first point in time, beginning receiving and storinginto a storage device the positioning signal; (b) at a second timepoint, adjusting a frequency of the oscillator by a given amount; (c)recording the frequency adjustment; (d) at a third time point,completing receiving and storing of the positioning signal from thepositioning signal receiver; and (e) processing the positioning signal,taking into consideration the frequency adjustment. In oneimplementation, the second time point is recorded as the time at whichthe frequency adjustment of the oscillator is made. Having the knowledgeof the time at which the frequency adjustment is made, the processingsearches for a frequency shift in the received positioning signalbetween the second time and the third time. In another implementation,the amount by which the frequency of the oscillator is adjusted isrecorded, and the processing searches for a time point at which thefrequency adjustment of the oscillator is made. In one implementation,the processing integrates a correlation function.

The present invention is applicable to GPS processing using aiding data,such as satellite ephemeris data. The present invention is particularlyapplicable to cellular communication in which an oscillator adjustmentmay be made when the mobile receiver moves between service areas of basestations.

Thus, accurate processing of the positioning data is ascertained withoutpreventing the communication circuit from accessing the sharedoscillator while positioning data is being acquired.

According to another aspect of the present invention, a mobilecommunication device determines an operating frequency of an oscillatorbased on a reference signal from a reliable time base. In oneembodiment, a beginning time point of the reference signal is receivedby the mobile communication device. When the beginning time point of thereference signal is detected, a counter is enabled to count a number ofcycles in a clock signal derived from the oscillator. The ending timepoint of the reference signal is then detected. Upon detecting theending time point of the reference signal, the counter is stopped toprevent the counter from further counting. Finally, the frequency of theoscillator is determined based on the count in the counter and anexpected time that elapsed between the beginning time point and theending time point.

The present invention can use reference signals having a known durationin time, or having recurring events in the reference signal that recursat a fixed frequency. In some implementation, the frequency of theoscillator so derived can be further adjusted, taking into account theprocessing times in the mobile communication device for detecting thebeginning time point and the ending time point.

Using the method of the present invention, the operating frequency of alocal oscillator can be determined to the accuracy of the oscillator ofthe base station oscillator, without incurring the expense orinconvenient bulkiness of the more costly, higher precision oscillatortypically found in base stations or less mobile equipment. In a GPSsignal receiver, by removing the uncertainty in oscillator frequency,the Doppler range over which the positioning signal receiver softwaresearches can be further limited.

The present invention is better understood upon consideration of thedetailed description below and the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 shows a block diagram of mobile communication device 100 to whicha method of the present invention is applicable.

FIG. 2 shows a flow chart of method 200 that compensates for thefrequency adjustment in shared local oscillator 108, in accordance withone embodiment of the present invention.

FIG. 3 shows a block diagram of mobile communication device 100 to whicha method of the present invention is also applicable.

FIG. 4 illustrates method 400 for measuring the operating frequency ofshared local oscillator 103, in accordance with one embodiment of thepresent invention.

To facilitate comparison between figures and to simplify the detaileddescription below, like reference numerals are used for like elements inthe figures.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

The present invention provides a method that compensates the frequencyadjustment effects in the positioning signal detection process.According to another aspect of the present invention, a method foraccurately determining the frequency of a local oscillator is provided.

FIG. 1 shows a block diagram of mobile communication device 100 to whicha method of the present invention is applicable. Mobile communicationdevice 100 can be, for example, a cellular telephone handset. As shownin FIG. 1, mobile communication device 100 includes communicationreceiver 101, communication transmitter 102, positioning signal receiver103, analog baseband circuit 106, digital baseband circuit 107, sharedlocal oscillator 108 and synthesizer 109. In mobile communication device100, shared local oscillator 108 is the frequency source forcommunication receiver 101, communication transmitter 102, andpositioning signal receiver 103. Shared local oscillator 108 can beimplemented, for example, by a voltage-controlled oscillator. Antenna104 serves both communication receiver 101 and communication receiver102, and antenna 105 serves positioning signal receiver 103.

A communication signal coupled by antenna 104 into communicationreceiver 101 is band-pass filtered, amplified and then down-converted bymixing with a signal from synthesizer 109 to a baseband signal. (Thesignal from synthesizer 109 has the expected carrier modulationfrequency.) The baseband signal so obtained is low-pass filtered andsampled for digital processing in digital baseband circuit 107. Acommunication signal to be transmitted is provided as a digital signalfrom digital baseband circuit 107. The digital signal is converted intoanalog form, filtered and modulated by mixing with a carrier frequencyprovided by synthesizer 109. The modulated signal is amplified andtransmitted through antenna 104. The positioning signal received atpositioning signal receiver 103 is processed in substantially the samemanner as described for the communication signal, except that theexpected modulation carrier frequency, rather than generated by asynthesizer (e.g., synthesizer 109), is provided by a PLL, whichmultiplies the frequency of shared local oscillator 108 by a factor of100 or more.

Analog baseband circuit 106's functions include enabling communicationtransmitter 102 to transmit a communication signal, providing afrequency adjustment to shared local oscillator 108, and changing thefrequency in synthesizer 109. As mobile communication device 100switches between base stations, analog baseband circuit 106 directssynthesizer 109 to switch between the channels of the base stations. Asexplained above, switching between base stations or tracking a carriersignal during degraded signal conditions may necessitate a frequencyadjustment to shared local oscillator 108. In addition, as shown in FIG.1, analog baseband circuit 106 may include a codec and interfaces to amicrophone and a speaker for processing voice communication. The codecquantizes a voice signal from the microphone into digital samples to beprocessed by digital baseband circuit 107 and reconstructs an analogaudio or voice signal from digital samples provided by digital basebandcircuit 107. The analog audio signal is replayed at the speaker.

Digital baseband circuit 107 includes receiver interface (RXIF) 111 andtransmitter interface (TXIF) 112 to communication receiver 101 andcommunication transmitter 102, respectively. The output signal of sharedlocal oscillator 108 provides a reference signal for clock generationcircuit 113 to provide the internal clock signals distributed withindigital baseband circuit 107 and analog baseband circuit 106 (e.g., todrive sampling of a voice codec). The internal clock signals generatefrom timing generation circuit 114 timing strobes used both internallyin digital baseband circuit 107 and analog baseband circuit 106. Variousserial communication and input/output (I/O) ports 115 are provided indigital baseband circuit 107 for communication with peripheral devices,positioning signal receiver 103 and analog baseband circuit 106.

Digital baseband circuit 107, which can be implemented as an applicationspecific integrated circuit (ASIC), includes central processing unit(CPU) subsystem 131, which performs and controls the communicationfunctions of mobile communication device 100. Such communicationfunctions include executing the communication protocol stack, peripheralhardware control, man-machine interface (e.g., keypad and graphical userinterfaces), and any application software. As shown in FIG. 1, in thisembodiment, external memory modules 127, 128 and 129 are coupled todigital baseband circuit 107 through external memory interface (EMIF)126. External memory modules 127, 128 and 129 are used in thisembodiment to provide data memory, program memory and positioning datamemory for CPU subsystem 131. (Positioning data memory stores samples ofa positioning signal and data used in positioning signal detection.) Inother embodiments, data memory, program memory and positioning datamemory can be provided by built-in memory modules in digital basebandcircuit 107. Alternatively, positioning data memory 129 and data memory128 can reside in the same physical memory module. As shown in FIG. 1,CPU subsystem 131 communicates with RXIF 111, TXIF 112, clock generationcircuit 113, timing generation circuit 114 and communication and I/Oports 115 over a direct memory access (DMA) and traffic control circuit116.

As shown in FIG. 1, CPU subsystem 131 includes CPU 130, random accessmemory (RAM) 123, read-only memory (ROM) 124 and cache memory 131. CPU130 communicates with RAM 123, ROM 124 and cache memory 131 over aprocessor bus. Bridge 122 allows data to flow between the processor busand DMA and traffic control circuit 116. As known to those skilled inthe art, software executed by CPU 130 can be stored in a non-volatilefashion in ROM 124 and also in external program memory 128. RAM 123 andcache memory 131 provide the memory needs of CPU 130 during itsoperation.

In the embodiment shown in FIG. 1, digital signal processor (DSP)subsystem 132 is provided in digital baseband circuit 107. DSP subsystem132 can be used to execute computationally intensive tasks, such asencoding and decoding voice samples, and executing the tasks of thephysical layer in communication with a station. DSP subsystem 130 can beimplemented, for example, substantially the same organization as CPUsubsystem 131, and provided similar access to external memory modules127, 128 and 129 through EMIF 126.

The positioning signal receiver software, which detects GPS signals frommultiple GPS satellites to determine the location of mobilecommunication device 100, may be run on either CPU subsystem 131 or DSPsubsystem 132. In this embodiment, the digitized samples of the receivedGPS signal are stored in memory. The stored GPS signal samples are thenlater retrieved and processed to search for the GPS satellite, the codephase and frequency shift (“Doppler”) that would provide the receivedsignal. In one embodiment, positioning receiver software searches for apeak in the modulus of a complex correlation integral under hypothesizedcode phase, Doppler and integration time values. One example of suchpositioning receiver software is disclosed in copending patentapplication (“Copending Application”), Ser. No. 10/126,853, entitled“Method for Optimal Search Scheduling in Satellite Acquisition” by J.Stone et al., filed on or about the same day as the present application,Attorney Docket number M-12558 US, assigned to Enuvis, Inc., which isalso the Assignee of the present application. The disclosure of theCopending Application is hereby incorporated by reference in itsentirety.

If the mobile communication device, in response to communication with abase station, adjusts the frequency of shared local oscillator 108 whilethe GPS signal is being captured, a discontinuity appears as a stepshift in carrier frequency in the digitized GPS signal. The presentinvention compensates for this carrier frequency shift in the complexcorrelation integral.

FIG. 2 shows a flow chart of a method that compensates for the frequencyadjustment in shared local oscillator 108, in accordance with thepresent invention. As shown in FIG. 2, at step 201, the data processingportion of the positioning signal receiver software (PRXPF) receives arequest for the user's position (e.g., the user selecting a “getposition” command from a menu), or from an external source (e.g., aprotocol request in a message relayed from the base station). At step202, PRXPF retrieves aiding data (e.g., GPS ephemeris, approximatelocation, and time) from local storage or memory, or from an externalsource (e.g., by protocol messages to a server sent over a radiocommunication link to a base station). At step 203, the control portionof the positioning signal receiver software (PRXCF) initializespositioning signal receiver 103 to begin storing samples between time t₀to time t₂. Time may be measured, for example, in mobile communicationdevice 100's local time base or relative to a timing event in thecommunication link between mobile communication device 100 and a basestation (e.g., a frame boundary in the radio communication interface toa base station). At time t₀, the contribution to the residual carrierfrequency due to shared local oscillator 108 should ideally be zero.

Suppose at time t₁ (t₀<t₁<t₂), mobile communication device 100 adjuststhe frequency of shared local oscillator 108 by an amount such that theresidual carrier frequency in the positioning signal samples changes byΔf₁. Thus, at step 204, a record is made in mobile communication device100, noting the time of the frequency adjustment and the amount of thefrequency adjustment. At time t₂ (step 205), PRXCF turns off positioningsignal receiver 103. At step 206, using the knowledge of the time andamount of the frequency adjustment, PRXPF performs the complexcorrelation integration using different hypotheses of a frequency offsetdue to shared local oscillator 108, according to whether the integrationtime limits are with the [t₀, t₁] interval or [t₂, t₃] interval. Thatis:

f _(VCO)(t)=0, for t ₀ <t<t ₁

f _(VCO)(t)=Δf ₁, for t ₀ <t<t ₁

At step 207, using the compensated integration of step 206, PRXPFexecutes the remainder of PRXPF to obtain the pseudo-range and,consequently, the position of mobile communication device 100.

For any reason, if either the frequency adjustment time t₁ or the amountof frequency adjustment cannot be ascertained, the frequency adjustmenttime t₁ or the amount of frequency shift due to shared local oscillator108 (i.e., Δf₁) are considered additional search parameters. Forexample, if the frequency adjustment time t₁ is known, but the frequencyadjustment amount is not known, multiple hypothetical values for Δf₁ canbe used to search for Δf₁. Alternatively, if the frequency adjustmenttime t₁ is not known, but the frequency shift due to shared localoscillator 108 is known, multiple hypothetical values for t₁ can be usedto search for time t₁. Of course, if neither the frequency adjustmenttime t₁ nor the frequency shift due to shared local oscillator 108 isknown, both the time and frequency parameter spaces have to be searched.In any case, the frequency adjustment software in the mobilecommunication device notifies the PRXPF that such an adjustment hasoccurred, and provides as much information related to the adjustment asis available.

FIG. 3 shows a block diagram of mobile communication device 300, towhich is a method of the present invention is also applicable. Unlikemobile communication device 100 of FIG. 1, mobile communication device300 uses a CPU or DSP 151 which resides outside of digital basebandcircuit 107. Other than where the positioning signal receiver softwareand data reside and execute, the operation of mobile communicationdevice 300 and mobile communication device 100 with respect to locationdetermination and compensation for frequency adjustment in shared localoscillator 108 are substantially identical.

According to another aspect of the present invention, the frequency of alocal oscillator (e.g., shared local oscillator 108 or the higherfrequency output signal of a phase-locked loop) can be determined usingthe oscillator of a base station. The present invention uses a timingsignal of known duration, or having events of known recurring frequency,as a reference or “stop watch” signal to measure the actual localoscillator frequency. For example, in a CDMA network, a “short code” of26⅔ millisecond duration is broadcast on a pilot channel. The frequencyof the short code rollover at 37.5 Hz can be used for synchronization.Alternatively, a “long code” broadcast on a CDMA network can also beused to synchronize a 10 MHz source. Each code has a starting point andan ending point indicated by a predetermined pattern. Similarly, in aGSM network, the Broadcast Control Channel (BCCH) transmitted by thebase station includes a Synchronization Channel (SCH) having countsindicating the positions of the current frame within a multi-frame,super-frame and hyper-frame structures. The multi-frame, super-frame andhyper-frame structures have respective durations of 0.235 seconds, 6.12seconds and approximately 3 hours and 29 minutes. Thus, in a GSMnetwork, the starting points of successive mult-frames can be used asfixed time intervals. Other intervals inherent in the GSM air-interfaceframe structure can also be used as fixed time intervals. In addition, acounter is provided in the hardware that is clocked by a clock signalgenerated from shared local oscillator 108. In one embodiment, anominally 200 MHz signal from a PLL in positioning signal receiver 103is used to clock the counter.

FIG. 4 illustrates method 400 for measuring the operating frequency ofshared local oscillator 103, in accordance with the present invention.As shown in FIG. 4, step 401 detects a starting point in the selectedreference signal from the base station. At step 402, when the startingpoint in the reference signal is detected, the counter is reset toenable count, incrementing one for each cycle of its input clock signal.In one embodiment, detecting the starting point and starting the countercan be accomplished by software running in CPU subsystem 130. In otherembodiments, these functions can be carried out in hardware. At step403, when the ending point of the reference signal is detected, thecounting is disabled. At that time, the count in the counter representsthe number of clock cycles elapsed between the starting and ending pointof the referenced signal (i.e., the fixed time interval). The frequencyof shared local oscillator 108 is thus simply this fixed time intervaldivided by the count in the counter. An adjustment to the count may bedesirable to account for the latencies in signal detection and thecounter operations for higher accuracy.

In one embodiment, shared local oscillator 108 can operate between 10-25MHz. A PLL in positioning signal receiver 103 multiplies the oscillatorfrequency to 200 MHz. Theoretically, the uncertainty in this 200 MHzsignal under method 400 in that embodiment is estimated to be 10 Hz.However, nondeterministic latencies (e.g., due to the tasks in CPUsubsystem 130) brings the uncertainty up to about 100 Hz.

Using the method of the present invention, the operating frequency ofshared local oscillator 108 can be determined to the accuracy of theoscillator of the base station oscillator, without incurring the expenseor inconvenient bulkiness of the more costly higher precision oscillatortypically found in base stations. By removing the uncertainty inoscillator frequency, the Doppler range over which the positioningsignal receiver software searches can be further limited.

The above detailed description is provided to illustrate specificembodiments of the present invention and is not intended to be limiting.Numerous variations and modifications within the scope of the presentinvention are possible. For example, the detailed description abovedescribes a system in which the positioning signal receiver stores thesampled received signal and later retrieves the stored data forprocessing. Another embodiment which processes the sampled data as theyare sampled is within the scope of the present invention. The presentinvention is set forth in the following claims.

We claim:
 1. In a mobile communication device, a method for compensatingfor a frequency adjustment in an oscillator shared between acommunication circuit and a positioning signal receiver, comprising: ata first point in time, beginning receiving a positioning signal receivedinto the positioning signal receiver; at a second time point, adjustinga frequency of the oscillator; recording a frequency adjustment of theoscillator; at a third time point, completing receiving the positioningsignal into the positioning signal receiver; and processing thepositioning signal, taking into consideration the frequency adjustment.2. A method as in claim 1, wherein the recording comprises recording thesecond time point as the time at which the frequency adjustment of theoscillator is made.
 3. A method as in claim 2, wherein the processinghypothesizes a frequency shift in the received positioning signalbetween the second time and the third time.
 4. A method as in claim 1,wherein the recording comprises recording an amount by which thefrequency of the oscillator is adjusted.
 5. A method as in claim 4,wherein the processing hypothesizes a time point at which the frequencyadjustment of the oscillator is made.
 6. A method as in claim 1, whereinthe processing comprises integrating a correlation function.
 7. A methodas in claim 6, wherein the processing comprises searching for a codephase for which the correlation function has a significant value.
 8. Amethod as in claim 6, wherein the processing comprises searching for aDoppler frequency at which the correlation function has a significantvalue.
 9. A method as in claim 1, further comprising retrieving aidingdata for processing the positioning signal.
 10. A method as in claim 1,wherein the positioning signal comprises a signal from a globalpositioning system (GPS) satellite.
 11. A method as in claim 1, whereinthe communication circuit initiates the frequency adjustment of theoscillator.
 12. A method as in claim 11, wherein the communicationcircuit comprises a receiver and transmitter for cellular telephonecommunication.
 13. A method as in claim 12, wherein the frequencyadjustment of the oscillator adjusts the offset from a nominal frequencyin a communication signal transmitted from a base station.
 14. A mobilecommunication device, comprising: a communication circuit; a positioningsignal receiver; an oscillator shared between a communication circuitand a positioning signal receiver providing a frequency that isadjustable from the communication circuit; and a central processingunit, wherein the central processing unit records a frequency adjustmentof the oscillator, and processes the positioning signal, taking intoconsideration the frequency adjustment.
 15. A mobile communicationdevice as in claim 14, wherein the central processing unit records thetime point at which the frequency adjustment of the oscillator is made.16. A mobile communication device as in claim 15, the central processingunit hypothesizes a frequency shift in a portion of the receivedpositioning signal received into the positioning signal receiver afterthe frequency adjustment.
 17. A mobile communication device as in claim14, wherein the central processing unit records an amount by which thefrequency of the oscillator is adjusted.
 18. A mobile communicationdevice as in claim 14, wherein the central processing units hypothesizesa time point at which the frequency adjustment of the oscillator ismade.
 19. A mobile communication device as in claim 14, wherein thecentral processing unit integrates a correlation function.
 20. A mobilecommunication device as in claim 19, wherein the central processing unitsearches for a code phase for which the correlation function has asignificant value.
 21. A mobile communication device as in claim 19,wherein the central processing unit searches for a Doppler frequency atwhich the correlation function has a significant value.
 22. A mobilecommunication device as in claim 19, wherein the central processing unitretrieves aiding data for processing the positioning signal.
 23. Amobile communication device as in claim 14, wherein the positioningsignal comprises a signal from a global positioning system (GPS)satellite.
 24. A mobile communication device as in claim 14, wherein thecommunication circuit comprises a receiver and transmitter for cellulartelephone communication.
 25. A mobile communication device as in claim14, wherein the frequency adjustment of the oscillator adjusts theoffset from a nominal frequency in a communication signal transmittedfrom a base station and received by the communication circuit.